package com.flyduck.vueshop.auth.h5.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * LoginResponse
 * </p>
 *
 * @author flyduck
 * @since 2024/5/9
 */
@Data
public class H5LoginRespVO implements Serializable {

    /**
     * 令牌
     */
    private String token;
    /**
     * 用户信息
     */
    private AppUserVO userInfo;

    /**
     * 用户信息
     */
    @Data
    public static class AppUserVO implements Serializable{
        private Long id;
        private String username;
        private LocalDateTime created;
        private String avatar;
        private static final long serialVersionUID = 1L;
    }
}
